package cn.trip.auth.service;

import cn.itrip.beans.dto.Dto;
import cn.itrip.beans.pojo.ItripUser;

public interface ItripUserService {

    Dto<ItripUser> selectByUserCode(ItripUser itripUser, String token);

    boolean findUserCode(ItripUser itripUser);

    boolean insert(ItripUser record);

    ItripUser findUserById(long id);

    int updateActivated(int activated, long idInt);

    ItripUser selectUserid(String userCode);

    void addVerificationCode(String code, String order);

    Dto loginOut(String userCode);

    String getVerificationCode(String code);

    Dto<ItripUser> retoken(String token);

}
